package dl.jf.service.util;

import java.util.List;

/**
 * @author jiajun
 *
 */
public class Toolkit {
	 /**
	 * @param paperdate
	 * @return boolean
	 */
	public static boolean isEmpty(String str) {
	        if (str == null || str.length() == 0) {
	            return true;
	        }
	        return false;
	    }
	
	public static boolean isEmpty(List list) {
        if (list == null || list.isEmpty()) {
            return true;
        }
        return false;
    }
}
